//引入变量
@import "variable.less";

//引入混合函数
@import "mixins.less";

*,
*:before,
*:after {
	.border-box;
}

html,body{
	background-color:@body-bg;
	line-height:@line-height-base;
	font-size:@font-size-base !important;
	color:@text-color;
	.full-box;
}

// 标题
h1{font-size:@font-size-h1;}
h2{font-size:@font-size-h2;}
h3{font-size:@font-size-h3;}
h4{font-size:@font-size-h4;}
h5{font-size:@font-size-h5;}
h6{font-size:@font-size-h6;}

// 链接
a {
  	color: @link-color;
  	text-decoration: none;
  	&:hover {
    	color: @link-hover-color;
    	text-decoration: underline;
  	}
}



//左浮动
.float-left {float:left;}
//右浮动
.float-righ {float:right;} 
//清除浮动
.clear-float{.clearfix();}
//显示
.show { display: block !important;}
//隐藏
.hidden {display: none !important;}


//文字对齐方式
.text-left{text-align:left;}
.text-right{text-align:right;}
.text-center{text-align:center;}

//文字颜色
.text-primary {
  .text-color(@brand-primary);
}
.text-success{
  .text-color(@brand-success);
}
.text-info{
  .text-color(@brand-info);
}
.text-warning {
  .text-color(@brand-warning);
}
.text-danger{
  .text-color(@brand-danger);
}

//背景颜色
.bg-primary{background-color: @brand-primary;}
.bg-success{background-color: @brand-success;}
.bg-info{background-color: @brand-info;}
.bg-warning{background-color: @brand-warning;}
.bg-danger{background-color: @brand-danger;}
.bg-grey{background-color: lighten(@grey, 40%);}
